build executables with -fPIE, not -fPIC
authorDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Thu, 16 Oct 2025 21:24:56 +0000 (17:24 -0400)
committerAaron M. Ucko <ucko@debian.org>
Thu, 16 Oct 2025 21:24:56 +0000 (17:24 -0400)
commit4906c75600526e69c6be769c4be939cb80a38ab9
tree1310a4ed7c633603ad02bc0394c5906c98660092
parent608a845ceca6c7a77e12e8ad7d4033242eebbec6
build executables with -fPIE, not -fPIC

* -fPIC is only useful for shared libraries; substitute -fPIE (along
   with -pie at link time) when building executables.

Author: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2012-05-10

Gbp-Pq: Name use_pie_for_apps
c++/src/build-system/Makefile.app.in